GtkMenuShell: We want separators in submenus
authorMatthias Clasen <mclasen@redhat.com>
Tue, 29 Apr 2014 02:46:25 +0000 (22:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 29 Apr 2014 02:46:25 +0000 (22:46 -0400)
This was probably an oversight when adding the merge_separators
parameter. Without this change, the testsuite/gtk/gtkmenu test
fails.

gtk/gtkmenushell.c

index ca0f1bb63d5c6db550cd65783d636ea6502f914e..062806b61900ee186261b18b28278da53d828d66 100644 (file)
@@ -2185,7 +2185,7 @@ gtk_menu_shell_bind_model (GtkMenuShell *menu_shell,
 
   if (model)
     menu_shell->priv->tracker = gtk_menu_tracker_new (GTK_ACTION_OBSERVABLE (muxer),
-                                                      model, with_separators, FALSE, action_namespace,
+                                                      model, with_separators, TRUE, action_namespace,
                                                       gtk_menu_shell_tracker_insert_func,
                                                       gtk_menu_shell_tracker_remove_func,
                                                       menu_shell);